using MediatR;
using Work.ErrorCode;

namespace Work.API.Applications.Write.Commands
{
    /// <summary>
    /// 更新处方明细命令
    /// </summary>
    public class UpdatePrescriptionItemCommand : IRequest<ApiResult<int>>
    {
        /// <summary>
        /// 处方明细ID
        /// </summary>
        public int PrescriptionItemId { get; set; }

        /// <summary>
        /// 药品名称
        /// </summary>
        public string? MedicineName { get; set; }

        /// <summary>
        /// 单价
        /// </summary>
        public decimal UnitPrice { get; set; }

        /// <summary>
        /// 数量
        /// </summary>
        public int Quantity { get; set; }
    }
}

